﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using Pos.Model;

namespace Pos.DAL
{
    public class DishCategoryDAL
    {
        public DataTable GetAll()
        {
            Database db = new Database();
            try
            {
                return db.GetDataSet("POS_DishCategory_GetAll").Tables[0];
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
                db.Close();
            }
        }
    }
}
